<style>
    .inner-input {
        width: 80px;
        height: 14px;
        padding: 1px 5px;
        line-height: 12px;
    }

    .goods-spec-box {
        position: relative;
        margin: 0 10px 10px 0;
        vertical-align: middle;
    }

    .goods-spec-title {
        z-index: 2;
        width: 40px;
        color: #fff;
        height: 28px;
        position: absolute;
        background: #999;
        line-height: 28px;
    }

    .goods-spec-close {
        right: 8px;
        z-index: 2;
        line-height: 28px;
        position: absolute;
        display: inline-block
    }

    .goods-spec-btn {
        height: 28px;
        margin-left: 5px !important;
        line-height: 26px !important;
    }

    .goods-spec-box input {
        z-index: 1;
        width: 120px;
        position: relative;
        border: 1px solid #999;
        padding: 5px 0 5px 45px;
        display: inline-block !important;
    }

    .goods-spec-box input[type=checkbox] {
        z-index: 2;
        width: 40px;
        height: 28px;
        border: none;
        cursor: pointer;
        appearance: none;
        position: absolute;
        -webkit-appearance: none;
    }

    .goods-spec-box input[type=checkbox]:before {
        top: 1px;
        left: 1px;
        width: 40px;
        height: 26px;
        content: ' ';
        position: absolute;
        background: #c9c9c9;
    }

    .goods-spec-box input[type=checkbox]:after {
        top: 1px;
        left: 1px;
        color: #999;
        width: 40px;
        height: 26px;
        content: '\e63f';
        font-size: 16px;
        line-height: 26px;
        position: absolute;
        text-align: center;
        font-family: 'layui-icon';
    }

    .goods-spec-box input[type=checkbox]:checked:after {
        color: #333;
        content: '\e605';
    }
</style>